using System.Collections.Generic;

namespace MyApp.WebApi.Entity
{
    public class Comments : BaseModel
    {
        public string Comment { get; set; }
        public int CommentScore { get; set; }

        //自动构建对应表的主外键关系
        public virtual IEnumerable<CommentTypes> CommentTypes { get; set; }

        public virtual IEnumerable<UsersGoods> UsersGoods { get; set; }

    }
}
